package asteroids.model.programs.parsing.statements;

import asteroids.model.Ship;

/**
 * A class of fire statements.
 * A fire statement makes the ship that executes the program fire a bullet.
 * 
 * @author Thijs Dieltjens - Wim Konings
 * @version 2.0
 */
public class Fire extends Action {

	public Fire(int line, int column) {
		super(line, column);
	}

	@Override
	public void execute(Ship ship) {
		ship.fireBullet();
	}
}
